file(GLOB HEADS "*.h" "*.hpp")
file(GLOB SRCS  "*.c" "*.cpp")

set(EXEC autotest)
add_executable(${EXEC} ${HEADS} ${SRCS})
target_link_libraries(${EXEC} gtest gtest_main)

add_test(NAME ${EXEC} COMMAND ${EXECUTABLE_OUTPUT_PATH}/${EXEC})


